NetworkCapabilityManager

open class NetworkCapabilityManager

This class is used to manage the Network capability before sending any network requests

This class is created in order to force the TOTR app to use the TRANSPORT_CELLULAR type with NET_CAPABILITY_MCX capability. This configuration is requested by a lot of clients such us Orange to let users use only cellular data with the MCX (Mission Critical servers.) capability.

Functions

Link copied to clipboard
open fun getInstance(): NetworkCapabilityManager
Link copied to clipboard
open fun requestCellularNetwork(@NonNull context: Context)
Call this method to force the network transport to use the TRANSPORT_CELLULAR with NET_CAPABILITY_MCX